<?php
/*
<script type='text/javascript' async=true>
                    function gup(name){name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");var regexS = "[\\?&]" + name + "=([^&#]*)";var regex = new RegExp(regexS);var results = regex.exec(window.location.href);if (results == null)  return "";else  return results[1];}
                    var param_type = 'COSTCOBBS_760190_1';
                    var param_Keywords = gup('kw');
                    var title_color = '006699';
                    var desc_color = '7F7F7F';
                    var url_color = '008000';
                    var container_w = '760px';
                    var container_h = '190px';
                    var container_border_c = 'FFFFFF';
                    var container_backgrond_c = 'FFFFFF';
					var ysmlabel_color = '858585';
                    var css = 'COSTCOBBS';
					var title_fontsize = '16px';
					var desc_fontsize = '12px';
					var url_fontsize = '12px';
                    document.write('<iframe FRAMEBORDER="no" ALLOWTRANSPARENCY="true" MARGINHEIGHT="0" MARGINWIDTH="0" style="border:1px solid #'+container_border_c+';background-color:#' + container_backgrond_c + ';overflow: hidden;" scrolling="no" width="' + container_w + '" height="' + container_h + '" src="http://adsense.clicking.com.tw/DS/js/partnerADs.php?url_fontsize='+url_fontsize+'&desc_fontsize='+desc_fontsize+'&title_fontsize='+title_fontsize+'&param_Keywords=' + param_Keywords + '&param_type=' + param_type + '&title_color=' + title_color + '&desc_color=' + desc_color + '&url_color=' + url_color + '&width=' + container_w + '&height=' + container_h +'&ysmlabel_color='+ysmlabel_color+'&css='+css+'" ></iframe>');
 </script>
*/
?>

<?php

//&lt;
//&gt;
echo "&lt;script type='text/javascript' async=true&gt;";
                    echo "<br>";
					echo 'function gup(name){name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");var regexS = "[\\?&]" + name + "=([^&#]*)";var regex = new RegExp(regexS);var results = regex.exec(window.location.href);if (results == null)  return "";else  return results[1];}';
					echo "<br>";
					echo 'function getMeta(content_type){var metas = document.getElementsByTagName(\'meta\');var meta_result = \'\';for (var x = 0, y = metas.length; x &lt; y; x++) {if (metas[x].name.toLowerCase() == content_type) {meta_result = metas[x].content;}}if(meta_result == \'\'){return "";}else{return meta_result;}}';
					echo "<br>";
					
                    echo "var param_type = '$param_type';<br>
					var meta_Keywords='';<br>
                    var param_Keywords = '';<br>
                    var title_color = '$title_color';<br>
                    var desc_color = '$desc_color';<br>
                    var url_color = '$url_color';<br>
                    var container_w = '$container_w';<br>
                    var container_h = '$container_h';<br>
                    var container_border_c = '$container_border_c';<br>
                    var container_background_c = '$container_background_c';<br>
					var ysmlabel_color = '$ysmlabel_color';<br>
					var title_fontsize = '$title_fontsize';<br>
					var desc_fontsize = '$desc_fontsize';<br>
					var url_fontsize = '$url_fontsize';<br>
					var css = '$css';<br>
					var background_image = '';<br>";
					
                    echo 'document.write(\'&lt;iframe FRAMEBORDER="no" ALLOWTRANSPARENCY="true" MARGINHEIGHT="0" MARGINWIDTH="0" style="border:1px solid #\'+container_border_c+\';background-color:#\' + container_background_c + \';overflow: hidden;" scrolling="no" width="\' + container_w + \'" height="\' + container_h + \'" src="http://adsense.clicking.com.tw/DS/js/partnerADs.php?background_image=\'+background_image+\'&meta_Keywords=\'+meta_Keywords+\'&url_fontsize=\'+url_fontsize+\'&desc_fontsize=\'+desc_fontsize+\'&title_fontsize=\'+title_fontsize+\'&param_Keywords=\' + param_Keywords + \'&param_type=\' + param_type + \'&title_color=\' + title_color + \'&desc_color=\' + desc_color + \'&url_color=\' + url_color + \'&width=\' + container_w + \'&height=\' + container_h +\'&ysmlabel_color=\'+ysmlabel_color+\'&css=\'+css+\'" &gt;&lt;/iframe&gt;\');<br>';
 echo "&lt;/script&gt;";

?>